package com.ruoyi.busi.domain.dao;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.DtoBaseEntity;
import com.ruoyi.common.core.domain.DtoBaseEntity;

/**
 * 休假业务对象 biz_holiday
 *
 * @author ruoyi
 * @date 2025-09-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("biz_holiday")
public class BizHolidayDao extends DtoBaseEntity {
        private static final long serialVersionUID = 1L;

        /** 主键id */
        @TableId(value = "id",type = IdType.ASSIGN_ID)
        private String id;

        /** 部门Id */
        @Excel(name = "部门Id")
        private String deptId;

        /** 请假类型 */
        @Excel(name = "请假类型")
        private Integer holidayType;

        /** 销假标记，0-未销假，1-已销假 */
        @Excel(name = "销假标记，0-未销假，1-已销假")
        private String backFromLeaveFlag;

        /** 请假开始时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "请假开始时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date startTime;

        /** 请假结束时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "请假结束时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date endTime;

        /** 请假天数 */
        @Excel(name = "请假天数")
        private Float leaveDays;

        /** 请假理由 */
        @Excel(name = "请假理由")
        private String leaveForReason;

        /** 删除标志（0代表存在 2代表删除） */
        private String delFlag;

}